using System;
using System.Collections.Generic;
using JlPay.Sdk.Core;
using JlPay.Sdk.Models;

namespace JlPay.Sdk.Models.Ledger.Merchconf
{
    /// <summary>
    /// 商户分账发行开通请求
    /// </summary>
    public class MerchIssueOpenRequest : OrgBaseRequest
    {
        public const string ApiPrefix = "/open/ledger/merch/issue";
        public const string ApiUri = "/open";

        /// <summary>
        /// 机构代码
        /// </summary>
        public string OrgCode { get; set; } = string.Empty;

        /// <summary>
        /// 商户号
        /// </summary>
        public string MchId { get; set; } = string.Empty;

        /// <summary>
        /// 账本模块
        /// </summary>
        public string LedgerModule { get; set; } = string.Empty;

        /// <summary>
        /// 最大分账比例
        /// </summary>
        public string MaxSplitRate { get; set; } = string.Empty;

        /// <summary>
        /// 来源ID列表
        /// </summary>
        public List<string> SourceIds { get; set; } = new List<string>();

        /// <summary>
        /// 费率
        /// </summary>
        public string FeeRate { get; set; } = string.Empty;

        /// <summary>
        /// 平台贴回
        /// </summary>
        public string Pbthf { get; set; } = string.Empty;

        /// <summary>
        /// 最低金额
        /// </summary>
        public string LowAmt { get; set; } = string.Empty;

        /// <summary>
        /// 最高金额
        /// </summary>
        public string UpAmt { get; set; } = string.Empty;

        /// <summary>
        /// 通知URL
        /// </summary>
        public string NotifyUrl { get; set; } = string.Empty;
        
    }
} 